/**   
 * 项目名：化工企业安全生产信息化管理平台
 * 日期：    2020-03-25 21:12:01  
 * Copyright (c) 2015- -版权所有     
 */
package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.entity.BpIndustrialInjureApply;

import com.joysuch.wwyt.bp.bean.BpIndustrialInjureApplyDetailBean;
import com.joysuch.wwyt.bp.bean.BpIndustrialInjureApplyEditBean;
import com.joysuch.wwyt.bp.bean.BpIndustrialInjureApplyListBean;
import static com.joysuch.wwyt.bp.bean.BpIndustrialInjureApplyListBean.SearchBpIndustrialInjureApply;
import com.joysuch.wwyt.core.exception.BusinessRestrictionsException;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface BpIndustrialInjureApplyService {

    public BpIndustrialInjureApply add(BpIndustrialInjureApplyEditBean entity);

    void update(BpIndustrialInjureApplyEditBean entity);

    Page<BpIndustrialInjureApplyListBean> findByPage(Pageable page,SearchBpIndustrialInjureApply condition);

    void delete(Long id) throws BusinessRestrictionsException;

    BpIndustrialInjureApplyDetailBean getById(Long id);

    BpIndustrialInjureApply findById(Long id);
}
